import { createWebHashHistory, createRouter } from 'vue-router'

const routes = [
  { path: '/',redirect: '/home' },
  { path: '/home',component: () => import('../layout.vue') },
  { path: '/about',component: () => import('../views/about/index.vue') },
]

const router = createRouter({
  history: createWebHashHistory(),
  routes,
})

export default router
